<%--
  Created by IntelliJ IDEA.
  User: Shinelon
  Date: 2017/6/16
  Time: 23:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="<%=path%>/css/bootstrap.css">
    <link rel="stylesheet" href="<%=path%>/css/common.css">
</head>
<body>

<!--head-->
<div id="header">
    <div class="container">
        <h1>报销管理系统</h1>
    </div>
</div>

<!--发票-->
<div id="second-header">
    <div class="container">
        <div class="row">
            <div class="col-sm-3">
                <form action="/demo/totalform/total" method="post">
                    <button class="btn btn-danger btn-block" type="submit" id="" >报销汇总单</button>
                </form>
            </div>
            <div class="col-sm-3">
                <form action="/demo/totalform/trip" method="post">
                    <button class="btn btn-danger btn-block" type="submit" id="" >出差报销单</button>
                </form>
            </div>
        </div>
    </div>
</div>

<!--报销汇总单-->
<div class="container" id="content">
    <h2 class="text-center">
        浙江大学城市学院报销汇总单
    </h2>
    <div id="btn-bar">
        <div class="row">
            <div class="col-md-4">
                <form action="/demo/totalform/increase" method="post">
                    <button class="btn btn-danger btn-block" type="submit" id="increase" >新增</button>
                </form>
            </div>
            <div class="col-sm-4">
                <form action="/demo/totalform/check" method="post">
                    <button class="btn btn-danger btn-block" type="submit" id="search">查看</button>
                </form>
            </div>
        </div>
    </div>

    <form action="/demo/totalform/handup">
        <table class="table table-bordered">
            <!--1-->
            <tr>
                <td>日期</td>
                <td colspan="2"> <input type="date" name="date"></td>
                <td></td>
                <td></td>
                <td></td>
            </tr>

            <!--2-->
            <tr>
                <td>单位（公章）</td>
                <td><input class="input1" name="company"/></td>
                <td>经费项目代码</td>
                <td><input class="input1" name="code"/></td>
                <td>单据张数</td>
                <td><input class="input1" name="number"/></td>
            </tr>

            <!--3-->
            <tr>
                <td>项目</td>
                <td>金额</td>
                <td>项目</td>
                <td>金额</td>
                <td>项目</td>
                <td>金额</td>
            </tr>

            <!--4-->
            <tr>
                <td>办公用品</td>
                <td><input class="input1" name="p1"/></td>
                <td>市内交通费</td>
                <td><input class="input1" name="p2"/></td>
                <td>固定资产构建费</td>
                <td><input class="input1" name="p3"/></td>
            </tr>

            <!--5-->
            <tr>
                <td>通讯、邮寄费</td>
                <td><input class="input1" name="p4"/></td>
                <td>燃油、燃料费</td>
                <td><input class="input1" name="p5"/></td>
                <td>体育用品购置费</td>
                <td><input class="input1" name="p6"/></td>
            </tr>

            <!--6-->
            <tr>
                <td>技术服务咨询费</td>
                <td><input class="input1" name="p7"/></td>
                <td>过路、过桥费</td>
                <td><input class="input1" name="p8"/></td>
                <td>日用品、材料费</td>
                <td><input class="input1" name="p9"/></td>
            </tr>

            <!--7-->
            <tr>
                <td>业务招待费</td>
                <td><input class="input1" name="p10"/></td>
                <td>机动车辆维修费</td>
                <td><input class="input1" name="p11"/></td>
                <td>材料测试加工费</td>
                <td><input class="input1" name="p12"/></td>
            </tr>

            <!--8-->
            <tr>
                <td>宣传广告费</td>
                <td><input class="input1" name="p13"/></td>
                <td>机动车辆保险费</td>
                <td><input class="input1" name="p14"/></td>
                <td>设备维修费</td>
                <td><input class="input1" name="p15"/></td>
            </tr>

            <!--9-->
            <tr>
                <td>图书资料版面费</td>
                <td><input class="input1" name="p16"/></td>
                <td>会议、会务费</td>
                <td><input class="input1" name="p17"/></td>
                <td>劳务费</td>
                <td><input class="input1" name="p18"/></td>
            </tr>

            <!--10-->
            <tr>
                <td>复印、印刷费费</td>
                <td><input class="input1" name="p19"/></td>
                <td>培训务费</td>
                <td><input class="input1" name="p20"/></td>
                <td>其他</td>
                <td><input class="input1" name="p21"/></td>
            </tr>

            <!--11-->
            <tr>
                <td colspan="2">合计人民币（大写）</td>
                <td colspan="2"><input class="input2"/></td>
                <td>￥</td>
                <td><input class="input1" name="amount"/></td>
            </tr>


            <!--12-->
            <tr>
                <td rowspan="2">转卡信息</td>
                <td>工号</td>
                <td>姓名</td>
                <td colspan="2">建行卡号</td>
                <td>转卡金额</td>
            </tr>

            <!--12-->
            <tr>
                <td><input class="input1" name="jobnum"/></td>
                <td><input class="input1" name="jobname"/></td>
                <td colspan="2"><input class="input2" name="card"/></td>
                <td><input class="input1" name="amount"/></td>
            </tr>

            <!--13-->
            <tr>
                <td>经费主管</td>
                <td><input class="input1" name="approver"/></td>
                <td>经办人</td>
                <td><input class="input1" name="agent"/></td>
                <td>联系电话</td>
                <td><input class="input1" name="phone"/></td>
            </tr>
        </table>
        <button type="submit" id="handup">提交</button>
    </form>

</div>
<div id="footer" class="text-center">
    JSP真难<br>
</div>
<script type="text/javascript">

    $(function() {
        $("#handup").click(function(event) {
            $("#totalform").attr("action", "/demo/totalform/handup")
            $("#totalform").submit();
        });

    });
</script>
<script src="js/jquery-1.11.3.js"></script>
<script src="js/bootstrap.js"></script>
</body>
</html>
